-- GENERATED SPELL FOR [Ravenous Windroc] --


function spell0_18220(pUnit, Event) --@Eagle Claw,n/a--
pUnit:FullCastSpellOnTarget(30285,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18220', 15000, 1)
end

function Sorts_18220(pUnit, Event)
local choix_sorts_18220 = math.random(0, 0)
if choix_sorts_18220 == 0 then
pUnit:RegisterEvent('spell0_18220', 1, 1)
end
end

function mob18220_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18220', math.random(1500, 3000), 1)
end

function mob18220_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18220_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18220_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18220, 1, 'mob18220_Action')
RegisterUnitEvent(18220, 2, 'mob18220_Leave')
RegisterUnitEvent(18220, 3, 'mob18220_Kill')
RegisterUnitEvent(18220, 4, 'mob18220_Die')
